package batiment;
import ressourceImpl.QuantiteRessource;
import ressourceImpl.RessourceImpl;

import java.util.Collection;
/**
 * 
 * @modelguid {25B4FCEC-90BF-4FD1-89C7-D9809F3E71BA}
 */
public class Entrepot extends Batiment {
	
	private RessourceImpl _laRessource;
	/**
	 * 
	 * @modelguid {B7826FE0-4007-4D75-9B44-E7C72BE3E5EE}
	 */
	private int _capacite_ressource;

	
	
	public Entrepot(int sup, Collection<QuantiteRessource> c, int vit_constr, int vit_destru, int res, RessourceImpl l_ressource, int capa, String _nom){
		super (sup, c, vit_constr, vit_destru, res, _nom);
		this.set_capacite_ressource(capa);
		this.set_ressource(l_ressource);
	}
	/** @modelguid {27BC743D-94A7-4884-B0AE-68C650EE7BA5} */
	public int get_capacite_ressource() {
		/*Begin Template Expansion{D463887C-0F96-42C1-B8DC-90E8DC272BD5}*/
		
		return _capacite_ressource;
		/*End Template Expansion{D463887C-0F96-42C1-B8DC-90E8DC272BD5}*/
	}

	/** @modelguid {EE4253A9-264A-4B53-BC5C-B5E55DCAF367} */
	public void set_capacite_ressource(int a_capacite_ressource) {
		/*Begin Template Expansion{CA3F77E8-8B8B-47C4-A1B8-CE1F21AEAEA5}*/
		_capacite_ressource = a_capacite_ressource;
		/*End Template Expansion{CA3F77E8-8B8B-47C4-A1B8-CE1F21AEAEA5}*/
	}

	public RessourceImpl get_ressource(){
		return this._laRessource;
	}
	
	public void set_ressource(RessourceImpl res){
		this._laRessource=res;
	}
	
}

